package com.liao.badminton.entity;

import java.io.Serializable;
import java.util.List;
import com.liao.badminton.code.BaseField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
//import com.liao.common.code.basecode.*;
import lombok.Data;
import java.lang.String;
import java.math.BigDecimal;
import java.util.Date;
/**
* @author liaocheng
* @date 2024-11-15
* description:用户和群关系
*/
@TableName
@Data
public class UserGroupRef  extends BaseField {

    @TableId(type = IdType.AUTO)
    private Long id;  //id
    private Long groupId;  //群id
    private Long userId;  //用户id
    private String userName;  //用户名称
    private Integer adminType;  //0:普通成员,1:管理员,2:群主
    private Integer competitionNum;  //参加打水次数
    private Integer activityNum;  //参加活动次数
    private BigDecimal activityCost;  //活动消费
    private Integer totalBout;  //总局数
    private Integer winBout;  //总胜局数
    private Integer loseBout;  //总负局数
    private Integer totalScore;  //总得分
    private BigDecimal awardCoin;  //总奖励
    private Integer loginDefault;  //默认登录群：0否，1是
    private Integer sex;


}
